runtime.mheap.reclaimCredit (field)
6 uses
runtime (current package)
mgc.go#L1559: mheap_.reclaimCredit.Store(0)
mgcsweep.go#L397: mheap_.reclaimCredit.Add(npages)
mheap.go#L123: reclaimCredit atomic.Uintptr
mheap.go#L812: if credit := h.reclaimCredit.Load(); credit > 0 {
mheap.go#L818: if h.reclaimCredit.CompareAndSwap(credit, credit-take) {
mheap.go#L844: h.reclaimCredit.Add(nfound - npage)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |